package com.sgb.kjwl.model.entity.enterprise;

import android.text.TextUtils;

/**
 * 首页-热门交易-优质专利、热门版权
 */
public class EpHotIpEntity {
    long applyTime;//,申请时间
    String authTime;//入驻时间
    String category;//,专利分类（固定）
    String categoryName;//
    long companyAuthTime;//,
    long companyId;//,公司id
    String companyName;//
    String companyNo;//
    String contactNumber;//联系电话
    String contacts;//联系人
    String createCom;//企业no
    String createUser;//用户no
    long expiresTime;//,过期时间
    String explain;//说明
    String headImage;//
    long id;//,
    String img;//图片
    String industry;//专利行业
    String industryName;//
    String logo;//
    String name;//名称
    double price;//价格
    int publishType;//
    String realName;//
    String registrationNo;//注册号
    int status;//,1上架2下架
    int talentStatus;//,专利状态（1：授权未下证、2：已下证）
    long updateTime;//,修改时间
    long userAuthTime;//
    long createTime;//,创建时间
    String label;



    String author;//作者
    int authorizationMethod;//授权方式（1：独家授权、2：非独家授权）
    long authorizationPeriod;//授权期限
    String copyrightOwner;//著作权人
    String description;//版权简介

    String explain_;//说明
    String range;//
    String range_;//范围
    int type;//商标组合类型(1中3英5数 4中+英 6中+数 7 英+数)

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getExplain_() {
        return explain_;
    }

    public void setExplain_(String explain_) {
        this.explain_ = explain_;
    }

    public String getRange() {
        return range;
    }

    public void setRange(String range) {
        this.range = range;
    }

    public String getRange_() {
        return range_;
    }

    public void setRange_(String range_) {
        this.range_ = range_;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(long applyTime) {
        this.applyTime = applyTime;
    }

    public String getAuthTime() {
        return authTime;
    }

    public void setAuthTime(String authTime) {
        this.authTime = authTime;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public long getCompanyAuthTime() {
        return companyAuthTime;
    }

    public void setCompanyAuthTime(long companyAuthTime) {
        this.companyAuthTime = companyAuthTime;
    }

    public long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(long companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getCreateCom() {
        return createCom;
    }

    public void setCreateCom(String createCom) {
        this.createCom = createCom;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public long getExpiresTime() {
        return expiresTime;
    }

    public void setExpiresTime(long expiresTime) {
        this.expiresTime = expiresTime;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getIndustryName() {
        return industryName;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getPublishType() {
        return publishType;
    }

    public void setPublishType(int publishType) {
        this.publishType = publishType;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRegistrationNo() {
        return registrationNo;
    }

    public void setRegistrationNo(String registrationNo) {
        this.registrationNo = registrationNo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getTalentStatus() {
        return talentStatus;
    }

    public void setTalentStatus(int talentStatus) {
        this.talentStatus = talentStatus;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public long getUserAuthTime() {
        return userAuthTime;
    }

    public void setUserAuthTime(long userAuthTime) {
        this.userAuthTime = userAuthTime;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getAuthorizationMethod() {
        return authorizationMethod;
    }

    public void setAuthorizationMethod(int authorizationMethod) {
        this.authorizationMethod = authorizationMethod;
    }

    public long getAuthorizationPeriod() {
        return authorizationPeriod;
    }

    public void setAuthorizationPeriod(long authorizationPeriod) {
        this.authorizationPeriod = authorizationPeriod;
    }

    public String getCopyrightOwner() {
        return copyrightOwner;
    }

    public void setCopyrightOwner(String copyrightOwner) {
        this.copyrightOwner = copyrightOwner;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public String getpublishTypeString(){
        String data = "";
        switch (publishType){
            case 0:

                data = "个人";
                break;
            case 1:

                data = "企业";
                break;
            case 2:

                data = "团队";

                break;

        }
        return data;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }


    //    public String[] getlable(){
//        if(!TextUtils.isEmpty(label)){
//            if(label.indexOf(",")>-1){
//                return label.split(",");
//            }else{
//                return new String[]{label};
//            }
//        }
//
//        return null;
//
//    }
}
